﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/user/User.master" AutoEventWireup="true"
    CodeFile="UpdateUser.aspx.cs" Inherits="admin_user_UpdateUser" %>

<%@ MasterType VirtualPath="~/admin/user/User.master" %>
<%@ Reference VirtualPath="~/admin/Admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Update User
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <div class="a-field">
        <label>
            Username<span class="vtip a-tooltip" title="Enter a username to view their information and update it"> (?) </span></label>
        <div class="a-text">
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
        </div>
        <asp:Button ID="btnSearch" runat="server" Style="padding: 6px 10px; margin-left: 20px;" Text="Search" CssClass="a-button" OnClick="btnSearch_Click" />
    </div>
    <div class="<asp:Literal ID="ltrInfo" runat="server"></asp:Literal> " >
    <!-- The type of bug to be updated -->
    <div class="a-field">
        <label>
            Full Name<span class="vtip a-tooltip" title="Full Name of user"> (?) </span></label>
        <div class="a-text">
            <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
        </div>
    </div>
     <div class="a-field">
        <label>
            Password<span class="vtip a-tooltip" title="Leave this blank to leave user's password as is, the other information will still be updated when you click Update"> (?) </span></label>
        <div class="a-text">
            <asp:TextBox ID="txtPassWord" runat="server" TextMode="Password"></asp:TextBox>
        </div>
    </div>
    <!-- The summary of bug to be updated -->
    <div class="a-field">
        <label>
            Email<span class="vtip a-tooltip" title="Email is a must in order to receive notification and password recovery info"> (?) </span>
        </label>
        <div class="a-text">
            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
        </div>
    </div>
     <div class="a-field">
        <label>
            Email Notification<span class="vtip a-tooltip" title="Turn on or off Email Notification feature in case you want to protect your privacy — this will stop KillDaBugs from sending emails to this user">
                (?) </span>
        </label>
        <div class="a-switch">
            <label class="a-on">
                On</label>
            <label class="a-off">
                Off</label>
            <asp:CheckBox ID="chbReciveEmail" runat="server" />
        </div>
    </div>

    <div class="a-field">
        <label>
            Organization<span class="vtip a-tooltip" title="The corporation that you're working at"> (?) </span></label>
        <div class="a-text">
            <asp:TextBox ID="txtOrganization" runat="server"></asp:TextBox>
        </div>
    </div>
    <!--Creating text box to enter the bugFoundInversion to be updated-->
    <div class="a-field">
        <label>
            Custom Info<span class="vtip a-tooltip" title="This will act as an signature for user's Profile page where other users can read more about him/her"> (?) </span></label>
        <div class="a-textarea">
            <asp:TextBox TextMode="MultiLine" ID="txtCustomeInfo" runat="server"></asp:TextBox></div>
    </div>
     <div class="a-field">
        <label>
            Bugs per page<span class="vtip a-tooltip" title="Set the default number of bugs displayed for each page in bugs page"> (?) </span></label>
        <div class="a-text">
            <asp:TextBox ID="txtBugPerPage" runat="server"></asp:TextBox>
        </div>
    </div>

     <!-- submit button -->
    <div class="a-field">
        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="a-button"
            onclick="btnUpdate_Click" />
    </div>
    <!--the end-->
    <div>
        <asp:Literal ID="ltrmess" runat="server"></asp:Literal>
    </div>
    </div>
    <div class="a-field">
        <asp:Literal ID="ltrResultMessage" runat="server"></asp:Literal>
    </div>
</asp:Content>